package com.pluto.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "weather-client",url = "https://api.snowytime.cn/api/v1.Index/index")
public interface WeatherFeignClient {

	@GetMapping
	String getWeather(@RequestParam("IP") String ip);
}
